﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace iSlideTools.LocalServer.Controllers
{
    [Authorize]
    public class HomeController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult About()
        {
            ViewData["Message"] = "iSlide工具本地服务应用程序";

            return View();
        }

        public IActionResult Contact()
        {
            ViewData["Message"] = "iSlide联系方式";

            return View();
        }

        public IActionResult Error()
        {
            return View();
        }
    }
}